<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>产品管理</title>
<meta name="decorator" content="default" />
<script type="text/javascript"
	src="/jeesite/static/jquery-tablesorter/jquery.tablesorter.js"></script>
<link href="/jeesite/static/jquery-tablesorter/themes/blue/style.css"
	rel="stylesheet" type="text/css">
<script type="text/javascript">
	$().ready(function() {
		$("#inputForm").validate();
	});
	function page(n, s) {
		$("#pageNo").val(n);
		$("#pageSize").val(s);
		$("#searchForm").submit();
		return false;
	}
</script>

</head>
<body>

	<!-- modelAttribute="product" -->

	<form class="form" action="${ctx}/cg/component/saveComponentRecord"
		method="post" id="inAndOutForm">
		<input type="hidden" name="comId" value="${component.id}"> <input
			type="hidden" name="repertoryNum" value="${component.repertoryNum}">
		<input type="text" id="recordOperateNum${component.id}"
			name="recordOperateNum"  class="validator" required="required" min="1" 
			placeholder="操作数量(库存${component.repertoryNum})"
			onblur="validate(this)"> 
			

		<input type="text" name="remarks" class="input-small" placeholder="备注">
		<br> <label> 
		<shiro:hasPermission name="cg:component:out">
		<input name="recordOperateType" type="radio"
			value="1" checked="checked" />出库
		</shiro:hasPermission>
		</label> <label> 
	<%-- 	<shiro:hasPermission name="cg:component:in">
		<input name="recordOperateType" type="radio"
			value="0" />入库
			</shiro:hasPermission> --%>
		</label> <br>
		<ul style="float: right;">
			<input type="submit"  class="btn btn-primary" value="确认">
			<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
		</ul>

	</form>


</body>
</html>